import java.util.Scanner;

/**
 * @Author @fiber-cloud
 * @Date 2025/6/27 21:08
 */
public class Test {
    static class age{
        private int age;

        public void setAge(int age){
            this.age = age;
        }
        public int getAge(){
            if (this.age > 200){
                return 200;
            } else if (this.age <0) {
                return 0;
            }else {
                return this.age;
            }
        }
    }



    class Cat{
        public String name;
        public int age;

        public void eat(){
            System.out.println(name+"正在吃饭");
        }

        public void werwer(){
            System.out.println(name+"喵喵叫");
        }
        public void catchMouse(){
            System.out.println(name+"正在抓老鼠");
        }
    }

    class Dog{
        public String name;
        public int age;
        public void eat(){
            System.out.println(name+"正在吃饭");
        }
        public void werwer(){
            System.out.println(name+"汪汪叫");
        }
    }
}
